<div class="userpanel">
        	<h2>用户中心</h2>
        	<ul>
            	<li><a href="/Member/index" rel="index">账户管理</a></li>
                <php>$first_id=getFirstBabyId();</php>
                <neq name='first_id' value='0'>
                <li><a href="/Member/baby/act/edit/Id/{$first_id}" rel="baby">宝宝档案</a></li>
                <else />
                <li><a href="/Member/baby" rel="baby">宝宝档案</a></li>
                </neq>
                <li><a href="/Member/yueli" rel="yueli">月历本</a></li>
            	<li><a href="/Member/yaoqing" rel="yaoqing">邀请亲友</a></li>
            </ul>
        </div>
<script language="javascript">
$(".userpanel").find("a[rel='"+userpanel+"']").addClass("current");
</script>